package com.codrim.cs.data.rpc.enums;

import com.codrim.common.utils.enums.EnumWithKeyDesc;

/**
 * Offer所属报表类型 Created by liang.ma on 20/09/2017.
 */
public enum OfferReportType implements EnumWithKeyDesc<Short> {
    NormalReport((short) 0, "alternative.offer.to.normal.report"),
    AlternativeReport((short) 1, "alternative.offer.to.alternative.report");

    private short key;
    private String desc;

    OfferReportType(short key, String desc) {
        this.key = key;
        this.desc = desc;
    }

    public static final short NORMAL_REPORT = 0;
    public static final short ALTERNATIVE_REPORT = 1;


    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public Short getKey() {
        return key;
    }
}

